package com.hellobike.haxing.modules.supplier.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: t_supplier_classification
 * @Author: haxing-boot
 * @Date:   2020-01-14
 * @Version: V1.0
 */
@Data
@TableName("t_supplier_classification")
public class TSupplierClassification implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private java.lang.Long id ;
	/**供应商id*/
	@Excel(name = "供应商id", width = 15)
    private java.lang.Long supplierId ;
	/**省*/
	@Excel(name = "省", width = 15)
        private java.lang.String province ;
	/**市*/
	@Excel(name = "市", width = 15)
        private java.lang.String city ;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15)
        private java.lang.String supplierName ;
	/**一级分类*/
	@Excel(name = "一级分类", width = 15)
        private java.lang.String firstCategory ;
	/**二级分类*/
	@Excel(name = "二级分类", width = 15)
        private java.lang.String secondCategory ;
	/**三级级分类*/
	@Excel(name = "三级级分类", width = 15)
		private java.lang.String thirdCategory ;
	/**仓库*/
	@Excel(name = "仓库", width = 15)
        private java.lang.String warehouse ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private java.lang.Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
      @TableLogic
      private java.lang.Integer deleted ;

	/**
	 * 省转换
	 */
	@TableField(exist = false)
	private List<String> province1;
	/**
	 * 城市转换
	 */
	@TableField(exist = false)
	private List<String> city1;
	/**
	 * 城市显示
	 */
	@TableField(exist = false)
	private String city2;
	/**
	 * 一级分类
	 */
	@TableField(exist = false)
	private List<String> firstCategory1;
	/**
	 * 二级分类
	 */
	@TableField(exist = false)
	private List<String> secondCategory1;
	/**
	 * 三级级分类
	 */
	@TableField(exist = false)
	private List<String> thirdCategory1;
	/**
	 * 三级级分类显示
	 */
	@TableField(exist = false)
	private String thirdCategory2;

	/**
	 * 仓
	 */
	@TableField(exist = false)
	private List<String> warehouse1;


}
